import Vue from "vue";
import 'vant/lib/index.css';

import {
  Button,
  Tabbar,
  TabbarItem,
  NavBar,
  Search,
  Swipe,
  SwipeItem,
  Toast,
  Sticky,
  Grid,
  GridItem,
  Divider,
  Lazyload,
  List,
  PullRefresh,
  GoodsAction,
  GoodsActionIcon,
  GoodsActionButton,
  Sku,
  SubmitBar,
  Checkbox,
  CheckboxGroup,
  Stepper,
  Form,
  Field,
} from 'vant';


Vue.use(Form);
Vue.use(Field)
Vue.use(Stepper);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(SubmitBar);
Vue.use(Sku);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(PullRefresh);
Vue.use(List);
Vue.use(Lazyload);

// 注册时可以配置额外的选项
Vue.use(Lazyload, {
  lazyComponent: true,
});


Vue.use(Divider);
Vue.use(Sticky);

Vue.use(Grid);
Vue.use(GridItem);

Vue.use(Toast);
Vue.use(Swipe);
Vue.use(SwipeItem);

Vue.use(Search);

Vue.use(Tabbar);
Vue.use(TabbarItem);

Vue.use(NavBar);

Vue.use(Button);